using System;
using System.Collections.Generic;
using System.Text;

namespace DynamicDNS
{
    /// <summary>
    /// Represents errors that occur during Network communication
    /// </summary>
    public class DynamicDNSCommunicationException : System.Exception
    {
        /// <summary>
        /// Overloaded.Initializes a new instance of the DynamicDNSCommunicationException class with a specified error message.
        /// </summary>
        /// <param name="message">The message that describes the error.</param>
        public DynamicDNSCommunicationException(string message)
            : base(message)
        {
        }
        /// <summary>
        /// Overloaded.Initializes a new instance of the DynamicDNSCommunicationException class with a specified error message and a reference to the inner exception that is the cause of this exception.
        /// </summary>
        /// <param name="message">The message that describes the error.</param>
        /// <param name="e">The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified.</param>
        public DynamicDNSCommunicationException(string message,Exception e)
            : base(message,e)
        {
        }
    }
}
